A quantum search decoder for natural language processing

نویسندگان

چکیده

Abstract Probabilistic language models, e.g. those based on recurrent neural networks such as long short-term memory models (LSTMs), often face the problem of finding a high probability prediction from sequence random variables over set tokens. This is commonly addressed using form greedy decoding beam search, where limited number highest-likelihood paths (the width) decoder are kept, and at end maximum-likelihood path chosen. In this work, we construct quantum algorithm to find globally optimal parse (i.e. for infinite with constant success probability. When input follows power law exponent k > 0, our has runtime R n f ( , ) alphabet size, length; here < 1/2, $f\rightarrow 0$ f→0 exponentially fast increasing hence making always more than quadratically faster its classical counterpart. We further modify procedure recover finite width variant, which enables an even stronger empirical speedup while still retaining higher accuracy possible classically. Finally, apply search Mozilla’s implementation Baidu’s DeepSpeech net, show exhibit word rank frequency.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Quantum Algorithms for Compositional Natural Language Processing

We propose a new application of quantum computing to the field of natural language processing. Ongoing work in this field attempts to incorporate grammatical structure into algorithms that compute meaning. In [5, 7], Coecke, Sadrzadeh and Clark introduce such a model (the CSC model) based on tensor product composition. While this algorithm has many advantages, its implementation is hampered by ...

متن کامل

Quantum computation and natural language processing

In this thesis, a novel approach to natural language understanding inspired by quantum mechanical principle is proposed. It is based on an analogy between the physical objects at the quantum level and human’s mental states. In this way, the physical and the mental phenomena are to be understood within the same framework. It is also proposed that the apparent differences between mind and matter ...

متن کامل

A Logical Language for Natural Language Processing

We present a formal description of a logical language that is based on a propositional semantic network. Variables in this language are not atomic and have potentially complex structure. We start from the individual components of a semantic network system, atomic nodes and relations that connect nodes, and provide a complete speci cation for the structure of nodes and a subsumption procedure be...

متن کامل

Optimal Search Algorithms for Structured Problems in Natural Language Processing

Optimal Search Algorithms for Structured Problems in Natural Language Processing by Adam David Pauls Doctor of Philosophy in Engineering – Electrical Engineering and Computer Sciences University of California, Berkeley Professor Dan Klein, Chair Many tasks in Natural Language Processing (NLP) can be formulated as the assignment of a label to an input. Often, the set of possible labels can be un...

متن کامل

Formal Language Theory For Natural Language Processing

This paper reports on a course whose aim is to introduce Formal Language Theory to students with little formal background (mostly linguistics students). The course was first taught at the European Summer School for Logic, Language and Information to a mixed audience of students, undergraduate, graduate and postgraduate, with various backgrounds. The challenges of teaching such a course include ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Quantum Machine Intelligence

سال: 2021

ISSN: ['2524-4906', '2524-4914']

DOI: https://doi.org/10.1007/s42484-021-00041-1